package com.tarena.lbs.marketing.web.mapper;
import com.tarena.lbs.pojo.marketing.dos.CouponCodeDO;
import java.util.List;

public interface CouponCodeMapper {

    int insert(CouponCodeDO record);

    void batchInsertCouponCode(List<CouponCodeDO> list);

    int insertSelective(CouponCodeDO record);

    CouponCodeDO selectByPrimaryKey(Integer id);

    CouponCodeDO getCouponCodeDetail(Integer couponId);

    int updateByPrimaryKeySelective(CouponCodeDO record);

    int updateByPrimaryKey(CouponCodeDO record);
}